package com.yfp.operation.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

@Data
@Tag(name = "饭宝在线状态")
public class PersonalOnlineStatusDTO {

    @NotNull(message = "设备id不能为空")
    @Schema(description = "设备id")
    String machineId;

    @NotNull(message = "在线状态不能为空")
    @Schema(description = "在线状态{false：否，true：在线}")
    Boolean status;
}
